package com.zwz.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.zwz.model.RiskStats;
import com.zwz.model.RiskTypeStats;

import java.util.List;
import java.util.Map;

public class CompanyInfo {
    private int stat;
    private String name;
    @JsonProperty("socialCreditCode")
    private String socialCreditCode;
    @JsonProperty("regNumber")
    private String regNumber;
    @JsonProperty("_id")
    private String id;
    @JsonProperty("businessTags")
    private List<String> businessTags;
    @JsonProperty("annualRiskStatsNew")
    private Map<String, RiskStats> annualRiskStats; // 年份作为键，如 "2025"
    @JsonProperty("riskTypeStatsNew")
    private RiskTypeStats riskTypeStats;
    @JsonProperty("legalRepresentative")
    private String legalRepresentative;

    // Getters & Setters
    public int getStat() { return stat; }
    public String getName() { return name; }
    public String getSocialCreditCode() { return socialCreditCode; }
    public String getRegNumber() { return regNumber; }
    public String getId() { return id; }
    public List<String> getBusinessTags() { return businessTags; }
    public Map<String, RiskStats> getAnnualRiskStats() { return annualRiskStats; }
    public RiskTypeStats getRiskTypeStats() { return riskTypeStats; }
    public String getLegalRepresentative() { return legalRepresentative; }
}